* {
  margin: 0;
  padding: 0;
}

table {
  border: 1px solid #E7E3E7;
  border-collapse: collapse;
}

tbody {
  background-color: #fffdee;
}

th, td {
  text-align: center;
  border-bottom: 1px solid #E7E3E7;
  padding: 10px;
}

thead tr, tfoot tr {
  background-image: url(../images/sort_bg.png);
  background-size: cover;
}

thead tr td, tfoot tr td {
  border-bottom: none;
}

th {
  height: 20px;
  line-height: 20px;
  font-size: 16px;
}

img {
  display: block;
  width: 100%;
  height: 100%;
}

button {
  width: 20px;
  height: 20px;
  line-height: 20px;
}

.text-right {
  text-align: right;
}

.yellow {
  color: #ff7f24;
  opacity: 0.6;
}

#app {
  width: 990px;
  margin: 0 auto;
}

#app .title {
  margin: 10px 0;
  opacity: 0.8;
  transition: 0.5s;
}

#app .shopcart {
  font-size: 12px;
  border-top: 2px solid #ce0000;
}

#app .shopcart .img {
  position: relative;
  cursor: pointer;
  width: 82px;
  height: 82px;
  box-sizing: border-box;
  border: 1px solid #e4e4e4;
}

#app .shopcart .img:hover::after {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  background-color: #fff;
  opacity: 0.1;
  width: 100%;
  height: 100%;
}

#app .shopcart .goods-name {
  width: 396px;
}

#app .shopcart .goods-info {
  width: 135px;
}

#app .shopcart .orther {
  width: 92px;
}

#app .shopcart .red {
  color: #e4393c;
  font-weight: bold;
}

#app .shopcart .info {
  cursor: pointer;
  transition: 0.2s;
  text-align: start;
}

#app .shopcart .info:hover {
  color: #e4393c;
  text-decoration: underline;
}

#app .shopcart .num-box {
  display: flex;
  height: 100%;
}

#app .shopcart .num-box > input {
  width: 25px;
  margin: 0 6px;
  outline: none;
  text-align: center;
}

#app .shopcart .btn-delete {
  cursor: pointer;
  color: #00aeec;
  transition: 0.2s;
}

#app .shopcart .btn-delete:hover {
  text-decoration: underline;
}

#app .show-all {
  width: 100%;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#app .show-all .show-svg {
  stroke: #00aeec;
  stroke-width: 1;
  stroke-dasharray: 1976;
  stroke-dashoffset: 0;
  animation: svg 8s linear forwards;
}

#app .show-all .show-svg > g > path {
  fill: transparent;
  animation: path 1s linear forwards 1.9s;
}

@keyframes path {
  from {
    fill: transparent;
  }
  to {
    fill: #00aeec;
    opacity: 0.6;
  }
}

@keyframes svg {
  from {
    stroke-dashoffset: 1976;
  }
  to {
    stroke-dashoffset: 0;
  }
}
